# Delete Sharing Scopes

Delete sharing scopes. When deleting sharing scope, all Business Partners from selection scope who are not included in any other sharing scopes, become undisclosed.

Endpoint: POST /v4/storages/{storageId}/sharingscopes/delete
Version: 5
Security: apiKey

## Security:

  - `apiKey` (unknown)
    apiKey in header X-API-KEY

## Path parameters:

  - `storageId` (string, required)
    Unique identifier of the Storage.

## Request fields (application/json):

  - `sharingScopes` (array)
    List of Sharing Scopes to be deleted.

  - `sharingScopes.id` (string)
    Unique identifier for the Sharing Scope.
    Example: bfdfd6f7-562f-4d4a-921f-e68cba60d5cf

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `sharingScopes` (array)
    List of results.

  - `sharingScopes.sharingScope` (object)
    Delete the Sharing Scope.

  - `sharingScopes.sharingScope.id` (string)
    Unique identifier for the Sharing Scope.
    Example: bfdfd6f7-562f-4d4a-921f-e68cba60d5cf

  - `sharingScopes.status` (string)
    * OK - the sharing scope has been updated
* NOT_FOUND - the sharing scope is not found
* APPLICATION_OR_DELETION_IN_PROGRESS - the sharing scope is already deleted but deletion consequences are not yet applied
    Example: OK

